package at.fhj.itm.refactor;

import java.sql.Connection;
import java.sql.SQLException;

public abstract class RefactoringSuiteAssembler {

	
	
	
	public static RefactoringSuiteAssembler getInstance(){
		RefactoringSuiteAssembler assembler =  new PostgresRefactoringSuiteAssembler();
		return assembler;
	}
	
	public abstract RefactoringSuite createRefactoringSuite(String jdbcConnection,String user, String pass);
	
	protected abstract void loadJdbcDriver() throws ClassNotFoundException;
	
	protected abstract Connection establishConnection(String connectionString, 
			String user, String pass) throws SQLException;
}
